package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeLimitOrder;
import sanshui.system.trade.db.entity.TradeLimitOrderExample;

public interface TradeLimitOrderMapper {
    long countByExample(TradeLimitOrderExample example);

    int deleteByExample(TradeLimitOrderExample example);

    int deleteByPrimaryKey(Long limitId);

    int insert(TradeLimitOrder record);

    int insertSelective(TradeLimitOrder record);

    List<TradeLimitOrder> selectByExampleWithRowbounds(TradeLimitOrderExample example, RowBounds rowBounds);

    List<TradeLimitOrder> selectByExample(TradeLimitOrderExample example);

    TradeLimitOrder selectByPrimaryKey(Long limitId);

    int updateByExampleSelective(@Param("record") TradeLimitOrder record, @Param("example") TradeLimitOrderExample example);

    int updateByExample(@Param("record") TradeLimitOrder record, @Param("example") TradeLimitOrderExample example);

    int updateByPrimaryKeySelective(TradeLimitOrder record);

    int updateByPrimaryKey(TradeLimitOrder record);
}